

import http from '@/utils/request';


//获取微信公众号下openid
export const AuthOpenid = params => {
    return http({
        url: `/api/Wechat/GetOpenId`,
        method: 'GET',
        params
    })
}


//注入config
export const AuthConfig = params => {
    return http({
        url: `/api/Wechat/PayConfig`,
        method: 'GET',
        params
    })
}


//查询订单是支付完成
export const findOrder = params => {
    return http({
        url: `/api/Study/QueryPayInfo`,
        method: 'GET',
        params
    })
}
